function AllReady() {
    var mstform = Ext.getCmp('ConorgPlan');//获取容器
	
    var BillName = mstform.queryById("BillName")
  	var PhidPc = mstform.queryById('PhidPc');

    var user_gl_org = mstform.queryById('user_gl_org');//获取字段
    var user_product_line = mstform.queryById('user_product_line');
    var user_gl_org = mstform.queryById('user_gl_org');
    var user_lcbjd = mstform.queryById('user_lcbjd');
    PhidPc.addListener('helpselected', function () {
        execServer('getLcbInfo', { 'pc': PhidPc.getValue() }, function (res) {
            if (res.count > 0) {
                var obj = JSON.parse(res.data);
                user_division.setValue(obj[0].extendObjects.dept )
                user_product_line.setValue(obj[0].extendObjects.cpx)
                user_gl_org.setValue(obj[0].extendObjects.zz)
                user_lcbjd.setValue(obj[0].extendObjects.pa)
         
                BatchBindCombox([user_gl_org])
                BatchBindCombox([user_division])
                BatchBindCombox([user_product_line])
                BatchBindCombox([user_lcbjd])
            }
        });
        setTitle()
    });
    user_gl_org.addListener('helpselected', function(){
        setTitle()
    })
    setTitle()
    function setTitle(){
        setTimeout(()=>{
            const phidPcTitle = PhidPc.getRawValue() || ""
        const user_gl_org_title = user_gl_org.getRawValue() || ""
        BillName.setValue(`${phidPcTitle}${user_gl_org_title}施工组织设计`)
        },200)
    }
    //getRawValue
    console.log(PhidPc, '测试');
      var user_lcbjd = mstform.getItem('user_lcbjd');
      user_lcbjd.on('beforetriggerclick', function (eOp, ignoreBeforeEvent) {
        user_lcbjd.setOutFilter({ phid_pc: PhidPc.getValue() })
    });
}